'use strict';

const idcardRule = {
    username: {
        type: 'string',
        min: 1,
    },
    card_no: {
        type: 'string',
        min: 1,
    }
}

const educationRule = {
    //学历认证方式:1=国内学信网在线认证,2=毕业证/学位证书认证,3=毕业证、学位证书编号,4=港澳台或海外学历认证
    education_type: {
        type: 'int'
    },
    //证书编号
    education_number: {
        type: "string",
        required: false
    },
    //学校
    school: {
        type: "string",
        required: false
    },
    //学历
    education: {
        type: "string",
        required: false
    },
    //证书图片
    education_image: {
        type: "string",
        required: false
    },

}


module.exports = {
    idcardRule,
    educationRule
};